<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<tr:document xmlns="http://www.w3.org/1999/xhtml"
             xmlns:ui="http://java.sun.com/jsf/facelets"
             xmlns:h="http://java.sun.com/jsf/html"
             xmlns:f="http://java.sun.com/jsf/core"
             xmlns:c="http://java.sun.com/jstl/core"
             xmlns:fn="http://java.sun.com/jsp/jstl/functions"
             xmlns:mias="http://www.monsters.inc/mias"
             xmlns:tr="http://myfaces.apache.org/trinidad">
<!-- 
     Everything outside the ui:composition tag will be ignored by Facelets!
-->
<ui:composition>

  <c:if test="#{empty autoSubmit}">
    <c:set var="autoSubmit" value="false" />
  </c:if>
  
  <tr:inputDate value="#{bean[id]}" id="#{id}" required="#{required}" readOnly="#{readOnly}"
                label="#{msg[id]}:" autoSubmit="#{autoSubmit}">
    <tr:convertDateTime pattern="#{msg.datePattern}"/>
    <ui:insert />
  </tr:inputDate>

</ui:composition>
</tr:document>
